registerTests([
function ZipTest_0()
{
	var myArray = [1, 2, 3, 4];
	var myOtherArray = [{x: 2}, {x: 6}, {x: 1}];
	//Returns [{x:2, y: 1}, {x: 6, y: 2}, {x: 1, y: 3}]
	var result = myArray.Zip(myOtherArray, "(a, b) => { return {x: b.x, y: a}; }");
	Assert.areEqual(result.length, 3);
	Assert.areEqual(result[0].x, 2);
	Assert.areEqual(result[0].y, 1);
	Assert.areEqual(result[1].x, 6);
	Assert.areEqual(result[1].y, 2);
	Assert.areEqual(result[2].x, 1);
	Assert.areEqual(result[2].y, 3);
},
]);